
public class job5 {
	public static void main(String[] args) {
		String str = args[0];
		for (int i=0; i < str.length() ; i++){
			char s = str.charAt(i);
			if (Character.isDigit(s)){
				System.out.print("");
			}else{
				switch(s){
					case '+':
						System.out.print("++");
					break;
					
					case '-':
						System.out.print("--");
					break;
					
				default:
				System.out.print(s);
				break;
				}
				
			}
		}
	}
}
